package cn.com.demo.service;

import cn.com.demo.pojo.User;

import java.util.HashMap;
import java.util.List;


public interface UserService {
	public User getByUserCode(String userCode);
	public List<User> getUserList(HashMap<String, Object> map);
	public int getUserCount(HashMap<String, Object> map);

	public boolean add(User user);
	public int addUser(User user);
	public User selectUserCodeExist(String userCode);
	public boolean deleteUserById(Integer id);
	public List<User> getUser();
}
